return {
  {
    "folke/snacks.nvim",
    opts = {
      -- 配置 terminal 模块
      terminal = {
        -- 指定启动时使用的 shell
        -- 请根据你系统上 pwsh 的实际路径进行修改
        -- shell = "pwsh.exe -NoProfile -NoExit", -- 或者 "pwsh.exe" (Windows), 也可以是完整路径，如 "C:/Program Files/PowerShell/7/pwsh.exe"
      },
    },
  },
  {
    "akinsho/toggleterm.nvim",
    config = function()
      require("toggleterm").setup({
        open_mapping = [[<F4>]],
        direction = "float",
        shade_filetypes = {},
        hide_numbers = true,
        insert_mappings = true,
        terminal_mappings = true,
        start_in_insert = true,
        close_on_exit = true,
      })
    end,
    keys = {
      { "<F4>", "<cmd>ToggleTerm<cr>", desc = "Toggle floating terminal" },
      {
        "<C-\\>",
        function()
          Snacks.terminal("pwsh -NoProfile -NoExit", { cwd = LazyVim.root() })
        end,
        desc = "Terminal (Root Dir)",
      },
    },
  },
}
